<!DOCTYPE html>
<html>
<head>
	<title>{% block title %}{{ APP_NAME|escape }}{% endblock %}</title>
	<link rel="stylesheet" type="text/css" href="/static/main.css">
  <meta name="viewport" content="width=645" />
  <script src="/static/closure-lite.js"></script>
	<script src="/static/main.js"></script>
	{% block head %}{% endblock %}
	{% if not IS_DEV_SERVER %}
  <script type="text/javascript">
    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', 'UA-25782740-1']);
    _gaq.push(['_trackPageview']);
    (function() {
      var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
      ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
      var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    })();
  </script>
  {% endif %}
</head>
<body>

<div id="header">
  <a href="/" id="title"><h1>{{ APP_NAME }}</h1></a>
  <div id="subtitle">
    {% block subtitle %}{% endblock %}
  </div>
</div>

<div id="container">
  {% block body %}{% endblock %}

</div>

<div id="about">
  <div id="about-label">About</div>

  <div id="about-contents">
    {{ APP_NAME }} was created by <a href="http://persistent.info">Mihai
    Parparita</a>, who can be reached at <script>printEmail();</script>.
    <a href="http://code.google.com/p/intersquares/">Source is available</a>.
  </div>
</div>

</body>
</html>
